<?php
class ecTemplateViewsModules{

  public static function loadPartial($partial, $params=array())
  {
    if(secure::includeVerif(dirname(__FILE__).'/../../../apps/'.$params['applicationName'].'/modules/'.$params['moduleName'].'/views/_'.$partial.'.php'))
      return dirname(__FILE__).'/../../../apps/'.$params['applicationName'].'/modules/'.$params['moduleName'].'/views/_'.$partial.'.php';
    return false;
  }
}

?>
